﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TomNet.IMSC.Model.Infrastructure;

namespace TomNet.IMSC.Model.DbModels.Organization
{
    /// <summary>
    /// 外勤打卡
    /// </summary>
    public class OutSideModel : CreatorBase<int>
    {
        /// <summary>
        /// 定位地点描述
        /// </summary>
        [StringLength(200)]
        public string Location { get; set; }
        /// <summary>
        /// 备注说明
        /// </summary>
        [StringLength(500)]
        public string OutSideContent { get; set; }
        /// <summary>
        /// 定位照片
        /// </summary>
        [StringLength(200)]
        public string ImagePage { get; set; }
        /// <summary>
        /// 经度
        /// </summary>
        public long Longitude { set; get; }
        /// <summary>
        /// 纬度
        /// </summary>
        public long Latitude { get; set; }
        /// <summary>
        /// 外勤类型  1普通外勤    2中介维护    3楼盘维护
        /// </summary>
        public int OutSideType { get; set; }
        /// <summary>
        /// 相关ID
        /// </summary>
        public int InterfixID { get; set; }
        /// <summary>
        /// 对接人
        /// </summary>
        public string Receiver { get; set; }
        /// <summary>
        /// 对新房的评价
        /// </summary>
        public string NewHouseEvaluate { get; set; }
        /// <summary>
        /// 对其它渠道的评价
        /// </summary>
        public string OtherEvaluate { get; set; }
        /// <summary>
        /// 常用渠道
        /// </summary>
        public string Origin { get; set; }

    }
}
